import numpy as np
import  pandas as pd
data1=np.random.randint(1,7,10000)
data2=np.random.randint(1,7,10000)
arr=data1+data2
df=pd.DataFrame(data1+data2)
count=df.value_counts().sort_index()
print('两个骰子抛掷数字和的统计结果:\n',count)
print('偏度:',df.skew().iloc[0])
print('峰度:',df.kurt().iloc[0])